<!-- <div data-role="content">
	<div class="ui-grid-a">
		<div class="ui-block-a" style="width:10%;">当</div>
		<div class="ui-block-b" style="width:90%;">
			<select name="launcher" id="launcher">
				<option value="{{equipment.id}}" ng-repeat="equipment in equipments">{{equipment.name}}</option>
			</select>
		</div>
	</div>
	<div class="ui-grid-a">
		<div class="ui-block-a" style="width:90%;">
			<select name="receiverEvent" id="toEvent">
				<option value="1">震动</option>
			</select>
		</div>
		<div class="ui-block-b" style="width:10%;">时</div>
		<select name="receiver" id="receiver">
			<option value="{{equipment.id}}" ng-repeat="equipment in equipments">{{equipment.name}}</option>
		</select> <select name="receiverEvent" id="toEvent">
			<option value="1">打开</option>
		</select>
	</div>
</div> -->

<div class="row">
	<div class="col-md-1 col-xs-1">当</div>
	<div class="col-md-5 col-xs-5">
		<div class="dropdown">
			<button class="btn btn-default dropdown-toggle" type="button"
				id="dropdownMenu1" data-toggle="dropdown" aria-expanded="true">
				发起设备 <span class="caret"></span>
			</button>
			<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
				<li role="presentation" ng-repeat="equipment in equipments"><a role="menuitem" tabindex="-1" href="#">{{equipment.deviceName}}</a></li>
			</ul>
		</div>
	</div>
	<div class="col-md-5 col-xs-5">
			<div class="dropdown">
			<button class="btn btn-default dropdown-toggle" type="button"
				id="dropdownMenu2" data-toggle="dropdown" aria-expanded="true">
				震动 <span class="caret"></span>
			</button>
			<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu2">
				<li role="presentation"><a role="menuitem" tabindex="-1" href="#">震动</a></li>
			</ul>
		</div>
	</div>
	<div class="col-md-1 col-xs-1">时</div>
</div>
<div class="row">
<p>
	<div class="col-md-6 col-xs-6">
			<div class="dropdown">
			<button class="btn btn-default dropdown-toggle" type="button"
				id="dropdownMenu3" data-toggle="dropdown" aria-expanded="true">
				接收设备 <span class="caret"></span>
			</button>
			<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu3">
				<li role="presentation" ng-repeat="equipment in equipments"><a role="menuitem" tabindex="-1" href="#">{{equipment.deviceName}}</a></li>
			</ul>
		</div>
	
	</div>
	<div class="col-md-6 col-xs-6">
			<div class="dropdown">
			<button class="btn btn-default dropdown-toggle" type="button"
				id="dropdownMenu4" data-toggle="dropdown" aria-expanded="true">
				做什么 <span class="caret"></span>
			</button>
			<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu4">
				<li role="presentation"><a role="menuitem" tabindex="-1" href="#">打开</a></li>
			</ul>
		</div>
	</div>
	</p>
</div>

<div class="row">
	<div class="col-xs-2"></div>
	<div class="col-xs-8"><a href="#" class="btn btn-block btn-lg btn-primary" data-role="button" data-theme="b" ng-click="addRule()">添加</a></div>
</div>